package com.x.entity.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author Xxh
 * @Create 2021-05-21-9:55
 */
@ApiModel("用户")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class User {

    @ApiModelProperty("id")
    private Integer id;

    @ApiModelProperty("权限")
    private Integer admin;

    @ApiModelProperty("会员（默认为0，会员为1）")
    private Integer vip;

    @ApiModelProperty("用户名")
    private String name;

    @ApiModelProperty("密码")
    private String password;

    @ApiModelProperty("积分")
    private Integer integral;

    @ApiModelProperty("头像")
    private String photo;

    @ApiModelProperty("职业")
    private String work;

    @ApiModelProperty("个人介绍")
    private String introduction;

    @ApiModelProperty("邮箱")
    private String e_mail;

    @ApiModelProperty("电话")
    private String phone;

    @ApiModelProperty("QQ")
    private String qq;
}
